package com.community.web.master.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.community.model.entity.Role;
import com.community.web.master.domain.dto.AddRoleMenuDto;
import com.community.web.master.domain.dto.PageRoleDto;
import com.community.web.master.domain.dto.RoleDto;
import com.community.web.master.domain.vo.MenuListWithSelectedVo;
import com.community.web.master.domain.vo.PageResult;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 李晶
 * @since 2024-07-02
 */
public interface IRoleService extends IService<Role> {

    PageResult pageQuery(PageRoleDto pageRoleDto);

    void updateUser(RoleDto roleDto);

    void addUser(RoleDto roleDto);

    void addMenu(AddRoleMenuDto addRoleMenuDto);

    MenuListWithSelectedVo getMenuMenuListWithSelected(Integer id);
}
